package com.ihr360.job.core.item;


/**
 * Exception indicating that an error has been encountered parsing IO, typically from a file.
 *
 * @author Lucas Ward
 * @author Ben Hale
 */
public class ParseException extends ItemReaderException {

    /**
     * Create a new {@link ParseException} based on a message and another exception.
     *
     * @param message the message for this exception
     * @param cause the other exception
     */
    public ParseException(String message, Throwable cause) {
        super(message, cause);
    }

    /**
     * Create a new {@link ParseException} based on a message.
     *
     * @param message the message for this exception
     */
    public ParseException(String message) {
        super(message);
    }

}
